/** 服务状态 */
export const serviceStatusOptions = [
  { label: '正在服务', value: 0 },
  { label: '历史服务', value: 1 }
];

/** 服务类型 */
export const serviceTypeOptions = [
  { label: '线上服务', value: '0' },
  { label: '线下服务', value: '1' }
];

/** 状态 */
export const statusOptions = [
  { label: '停用', value: 0 },
  { label: '启用', value: 1 }
];

/** 性别 */
export const genderOptions = [
  { label: '女', value: 0 },
  { label: '男', value: 1 }
];

/** 是否 */
export const yesOrNoOptions = [
  { label: '否', value: 0 },
  { label: '是', value: 1 }
];

export const targetOptions = [
  { label: '中职', value: 0 },
  { label: '高职', value: 1 },
  { label: '本科', value: 2 }
];
export const modelStatusOptions = [
  { label: '停用', value: 0 },
  { label: '启用', value: 1 }
];

export const EnumAutoCompleteEmail = ['@gmail.com', '@163.com', '@qq.com'];

export const EnumQuestionTypeNameList = [
  '单选题',
  '多选题',
  '不定项选择题',
  '填空题',
  '简答题',
  '编程题',
  '判断题',
  '其他'
];

export const questionTypeOptions = [
  { label: '单选题', value: 0 },
  { label: '多选题', value: 1 },
  { label: '不定项选择题', value: 2 },
  { label: '填空题', value: 3 },
  { label: '简答题', value: 4 },
  { label: '编程题', value: 5 },
  { label: '判断题', value: 6 },
  { label: '其他', value: 7 }
];

export const questionDifficultyOptions = [
  { label: '易', value: 0 },
  { label: '中', value: 1 },
  { label: '难', value: 2 }
];
/** 操作类型 */
export const operationTypeOptions = [
  { label: '修改', value: 0 },
  { label: '删除', value: 1 },
  { label: '增加', value: 2 }
];
/** 操作结果 */
export const operationResultOptions = [
  { label: '失败', value: 0 },
  { label: '成功', value: 1 }
];
export const workShopType = [
  { label: '云桌面', value: 0, type: 'novnc', iconColor: '#f56a00', data: [] },
  { label: 'Jupyter虚拟机', value: 1, type: 'jupyter', iconColor: '#6266eb', data: [] },
  { label: 'CodeServer虚拟机', value: 2, type: 'codeServer', iconColor: '#1e1640', data: [] }
];
export const menuTypeOptions = [
  {
    label: '目录',
    value: 1
  },
  {
    label: '菜单',
    value: 2
  },
  {
    label: '按钮',
    value: 3
  }
];
export const buttonTypeOptions = [
  {
    label: '新增',
    value: 1
  },
  {
    label: '删除',
    value: 2
  },
  {
    label: '编辑',
    value: 3
  },

  {
    label: '上传',
    value: 5
  },
  {
    label: '下载',
    value: 6
  }
];
export const DataPermissionsOptions = [
  {
    label: '本人',
    value: 1
  },
  {
    label: '本部门',
    value: 2
  },
  {
    label: '本部门和下属部门',
    value: 3
  },
  {
    label: '全公司',
    value: 4
  }
];

export const sourceTypeOptions = [
  {
    label: '资源地址',
    value: 1
  },
  {
    label: '资源文件',
    value: 2
  }
];

/* 时间范围 */
export const timeRangeOptions = [
  { label: '24小时', value: '24h' },
  { label: '今天', value: 'today' },
  { label: '昨天', value: 'yesterday' },
  { label: '3天内', value: '3d' },
  { label: '7天内', value: '7d' },
  { label: '15天内', value: '15d' },
  { label: '30天内', value: '30d' }
];
